package org.road0329.tools.proto_parse_tool.ems;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class DataEvent extends DataEventKey {
    private Integer objId;

    private Short objType;

    private Short eventItem;

    private Short status;

    private String eventNote;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String eventData;

    public Integer getObjId() {
        return objId;
    }

    public void setObjId(Integer objId) {
        this.objId = objId;
    }

    public Short getObjType() {
        return objType;
    }

    public void setObjType(Short objType) {
        this.objType = objType;
    }

    public Short getEventItem() {
        return eventItem;
    }

    public void setEventItem(Short eventItem) {
        this.eventItem = eventItem;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public String getEventNote() {
        return eventNote;
    }

    public void setEventNote(String eventNote) {
        this.eventNote = eventNote == null ? null : eventNote.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getEventData() {
        return eventData;
    }

    public void setEventData(String eventData) {
        this.eventData = eventData == null ? null : eventData.trim();
    }
}